/*
 * Copyright (c) 2019, Beijing Yonyou Audit Software. All rights reserved.
 *
 */
package publish;

/**
 * @author 若雨成霜
 * @date 2019-11-25
 * @description 消息
 */
public class Msg<M> {
    private String publisher;
    private M msg;

    public Msg(String publisher, M msg) {
        this.publisher = publisher;
        this.msg = msg;
    }

    public String getPublisher() {
        return publisher;
    }

    public void setPublisher(String publisher) {
        this.publisher = publisher;
    }

    public M getMsg() {
        return msg;
    }

    public void setMsg(M msg) {
        this.msg = msg;
    }
}
